* {
    box-sizing:border-box;
    padding:0;
    margin:0;
}

body {
    background:url('http://tank-a-faire.com/bg1.jpg') repeat;
    position:relative;
    font-family:verdana;
    font-size:10px;

}

body:before {
    content:"";
    display:block;
    position:absolute;
    background:linear-gradient(#7e7365, #474038);
    border-top:1px solid rgba(0,0,0,0.6);
    border-bottom:1px solid rgba(0,0,0,0.6);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.5),
        inset 0 -1px 0 rgba(255,255,255,0.1),
        0 2px 1px rgba(0,0,0,0.4);
    width:100%;
    height:30px;
    top:30px;
}

#main {
    width:320px;
    margin:30px auto;
    height:120px;
    position:relative;
    padding:6px;
    border:1px solid rgba(0,0,0,0.3);
    border-radius:0.6em;
    background:#f6f4f1;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    background:url('http://tank-a-faire.com/bg2.jpg') repeat;
    box-sizing:border-box;
    padding:0;
    margin:0;
}


#main:after {
    clear:both;
    content:"";
    display:table;
}

#inset {
    border:4px solid rgba(255,0,0,0.2);
    border-radius:0.5em;
    float:left;
    width:100%;
    padding:6px 10px 6px 40px;
    height:100%;
}

#code {
    transform:rotate(90deg);
    transform-origin:0 0;
    position:absolute;
    top:10px;
    font-size:13px;
    left:40px;
    width:100px;
    text-align:center;
    border-top:4px solid rgba(255,0,0,0.2);
    padding:5px 7px;
    border-radius:0 0 0.5Em 0.5em;
    color:#aa6b40;
    text-shadow:1px 0 0 rgba(255,255,255,0.6);
}

input[type="text"],
input[type="password"]{
    border-radius:0.3em;
    border:1px solid #91897e;
    box-shadow:inset 0 0 4px rgba(25,0,0,0.4);
    padding:7px;
    margin:5px 0;
    transition:all 0.3s ease-out;
    width:100%;
    height:34px;
}

input[type="password"]{
    float:left;
    width:50%;
}

input[type="submit"]{
    float:left;
    width:46%;
    margin-left:4%;
    margin-top:5px;
    height:34px;
    border:1px solid #91897e;
    border-radius:0.3em;
    padding:7px;
    transition:all 0.3s ease-out;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.5),
        inset 0 20px 20px rgba(255,255,255,0.1);
    cursor:pointer;
    background:rgba(250,0,0,0.2);
    font-weight:bold;
    color:#aa6b40;
    text-shadow:0 1px 0 rgba(255,255,255,0.5);
    font-family:verdana;
}

::-webkit-input-placeholder {
    font-family:verdana;
    text-transform:uppercase;
    font-size:10px;
    line-height:16px;
    letter-spacing:1px;
}


input[type="text"]:hover,
input[type="password"]:hover{
    box-shadow:none;
}

input[type="submit"]:hover {
    background:rgba(250,0,0,0.3);
}
